<?php
/**
 * Created by PhpStorm.
 * User: 我型我素
 * Date: 2018/1/30
 * Time: 20:49
 */

namespace App\Services\PayLog;


use App\Repositories\PayLog\PayLogRepository;

class PayLogService
{
    protected $payLogRepository;

    public function __construct(PayLogRepository $payLogRepository)
    {
        $this->payLogRepository = $payLogRepository;
    }

    /**
     * @author yangzhic
     * @param array $data
     * @return mixed
     */
    public function addPayLog(array $data){
        return $this->payLogRepository->addPayLog($data);
    }
}